<%@ page import="java.io.PrintWriter" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>register</title>
</head>
<style type="text/css">

    body{
        background-color: antiquewhite;
    }
    #box{
        width: 1400px;
        height: 720px;
    }
    #box1{
        width: 240px;
        height: 500px;
        margin: 0 auto;
    }
    a{
        text-decoration: none;
    }
    a:hover{
        background-color: cornflowerblue;
    }
    #btn{
        margin-left: 50px;
        width: 150px;
        height: 30px;
    }



</style>

  <%
      response.setContentType("text/html;charset=UTF-8");
      PrintWriter pt = response.getWriter();


  %>


<body>

<%
    pt.print("<div id=\"box\">");
    pt.print("<div id=\"box1\">");
    pt.print("<h3 align=\"center\">注册界面</h3>\n" +
            "   <br/>");

    pt.print("<form method=\"post\" action=\"registerServlet\">\n" +
            "    帐号:&nbsp;&nbsp;&nbsp;<input type=\"text\" name=\"userid\" required>\n" +
            "    <br/>\n" +
            "    <br/>\n" +
            "    姓名：<input type=\"text\" name=\"username\" required>\n" +
            "    <br/>\n" +
            "    <br/>\n" +
            "    密码：<input type=\"password\" name=\"password\" required>\n" +
            "    <br/>\n" +
            "    <br/>\n" +
            "    地址：<input type=\"text\" name=\"address\" required>\n" +
            "    <br/>\n" +
            "    <br/>\n" +
            "    <input id=\"btn\" type=\"submit\" value=\"确认注册\">\n" +
            "\n" +
            "</form>");

    pt.print("</div>");
    pt.print("</div>");

%>











</body>
</html>
